package com.baiyang.app.ui.mine.commentRecord;

import androidx.lifecycle.LiveData;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.alibaba.fastjson.JSONObject;

public class RecordCommentViewModel extends ViewModel {
    private MutableLiveData<JSONObject> commentLists;
    public RecordCommentViewModel(){
        commentLists = new MutableLiveData<>();
    }
    public void setCommentLists(JSONObject commentLists) {
        this.commentLists.postValue(commentLists);
    }

    public LiveData<JSONObject> getCommentLists(){
        return commentLists;
    }
}
